package com.zxl.openapi.exception;


import lombok.Data;


@Data
public class BaseException extends RuntimeException{

    private String code;

    private String msg;


    public BaseException( String code,String msg) {
        super(msg);
        this.code = code;

    }
}
